package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.Date;

@Data
@Table(name = "t_file")
public class File {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "file_old_name")
    private String fileOldName;

    @Column(name = "pic_name")
    private String  picName;

    @Column(name = "pic_url")
    private String picUrl ;

    @Column(name = "pic_expanded_name")
    private String picExpandedName ;

    @Column(name = "file_size")
    private Integer fileSize ;

    @Column(name = "file_sort_uid")
    private String fileSortUid ;

    @Column(name = "admin_uid")
    private String adminUid ;


    @Column(name = "user_uid")
    private String userUid ;


    private Integer status;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "qi_niu_url")
    private String qiNiuUrl ;

}
